/**
 * 接口管理
 * 商品中心>规格库
 */
import request from '@/utils/request';

// 获取规格列表
export const getSpecificationList = (params = {}) => {
  return request('/Amaidan-Goods-Web/goods/resPlatformNorm/pageQuerySupportCondition', {
    method: 'POST',
    data: params
  })
}
// 操作规格
export const handleSpecification = (params = {}) => {
  return request('/Amaidan-Goods-Web/goods/resPlatformNorm/addOrUpdate', {
    method: 'POST',
    data: params
  })
}
// 删除规格
export const deleteSpecification = (params = {}) => {
  return request('/Amaidan-Goods-Web/goods/resPlatformNorm/deleteById', {
    method: 'POST',
    data: params
  })
}
